#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# @Project : chat_model 
# @File    : dialogue_crud.py
# @IDE     : PyCharm 
# @Author  :ZH
# @Time    : 2025/1/3 18:17
__all__ = ['dialogue_crud']

from apps.cruds.crud_base import CRUDBase
from apps.models import Dialogue
from apps.schemas.dialogue_schema import CreateDialogueSchema, UpdateDialogueSchema


class CRUDDialogue(CRUDBase[Dialogue, CreateDialogueSchema, UpdateDialogueSchema]):
    __doc__ = "聊天记录数据持久层"


dialogue_crud = CRUDDialogue(Dialogue)
